{% extends 'IMTDashboardBundle::layout.html.twig' %}

{% block main_title %}Profil - Gérer les agendas{% endblock %}

{% block include_style %}
{% endblock %}

{% block content %}
<div id="content">
	<div id="content-outer">
		<div id="content-inner" style="background-image:none;">			
			<section id="main" class="clearfix" style="margin:0px;">
				<div id="main-header" class="page-header">
					<ul class="breadcrumb">
						<li>
							<i class="icon-home"></i><a href="{{ path('fos_user_profile_show') }}">Profil</a>
							<span class="divider">&raquo;</span>
						</li>
						<li>
							<i class="icos-address-book-2"></i><a href="{{ path('account_home') }}">Comptes</a>
							<span class="divider">&raquo;</span>
						</li>
						<li>
							<i class="icos-address-book-2"></i>{{ entity.title }}
						</li>
					</ul>
				</div>
				
				<div id="main-content">

					<div class="profile">
						<div class="clearfix">
							<div class="profile-head clearfix">
								<div class="profile-info pull-left">
									<h1 class="profile-username">Gérer les comptes</h1>
								</div>
								<div class="btn-toolbar pull-right">
									<a href="#" class="btn btn-success"><i class="icon-plus"></i> Ajouter un compte</a>
								</div>
							</div>
							<div class="profile-sidebar">
								<div class="thumbnail">
									<img src="{{ asset('user.png') }}" alt="">
								</div>
								<ul class="nav nav-tabs nav-stacked">
									<li><a href="#"><i class="icos-user"></i> Editer mon profil</a></li>
									<li><a href="#"><i class="icos-cog"></i> Paramétrages</a></li>
									<li class="active"><a href="{{ path('account_home') }}"><i class="icos-address-book-2"></i> Gestion des comptes</a></li>
									<li><a href="#"><i class="icos-tag"></i> Gestion des libellés</a></li>
									<li><a href="#"><i class="icos-polaroids"></i> Gestion des plugins</a></li>
								</ul>
							</div>
							<div class="profile-content">
								<div class="tab-content">
									<div class="tab-pane active" id="profile">
										<div class="row-fluid">
										
											<div class="span6">
												<h4 class="sub"><span>Modifier le compte</span></h4>
												<form action="{{ path('accountimt_update', { 'id': entity.id }) }}" method="post" {{ form_enctype(edit_form) }}>
    {{ form_widget(edit_form) }}
    <p>
        <button type="submit">Edit</button>
    </p>
</form>

<ul class="record_actions">
    <li>
        <a href="{{ path('accountimt') }}">
            Back to the list
        </a>
    </li>
    <li>
        <form action="{{ path('accountimt_delete', { 'id': entity.id }) }}" method="post">
            {{ form_widget(delete_form) }}
            <button type="submit">Delete</button>
        </form>
    </li>
</ul>
											</div>
											
											<div class="span6">
												<h4 class="sub"><span>Liste de contacts</span></h4>
											</div>
											
										</div>										
									</div>
								</div>
							</div>
						</div>
					</div>

				</div>
			</section>
		</div>
	</div>
</div>
{% endblock %}
